//
//  GameDataManager.h
//  CandyJump
//
//  Created by Bon Lam on 03/03/2011.
//  Copyright 2011 Peru Republic. All rights reserved.
//

#import <Foundation/Foundation.h>

@class BackgroundInfo;
//=====================================================================================================================
@interface MapData : NSObject {
	
	BackgroundInfo*		backgroundInfo;
	NSMutableArray*		backgroundSceneArray;
}

@property (nonatomic, retain, readwrite)BackgroundInfo* backgroundInfo;
@property (nonatomic, retain, readwrite)NSMutableArray* backgroundSceneArray;

@end


//=====================================================================================================================
@interface GameDataManager : NSObject {
	
	MapData*	mapData;
	NSString*	currentCharacter;
}

//---------------------------------------------------------------------------------------------------------------------
@property (nonatomic, retain, readwrite)MapData* mapData;
@property (nonatomic, retain, readwrite)NSString* currentCharacter;

#pragma mark -
#pragma mark Singleton Object Functions
- (id)init;
- (void)dealloc;
+ (id)allocWithZone:(NSZone *)zone;
- (id)copyWithZone:(NSZone *)zone;
- (id)retain;
- (NSUInteger)retainCount;
- (void)release;
- (id)autorelease;

#pragma mark Custom Functions
+ (GameDataManager *)sharedManager;

@end
